/*头像上传*/
.avatar-wrapper{
    width: 621px;
    height: 364px;
    margin-top: 15px;
    box-shadow: inset 0 0 5px rgba(0,0,0,.25);
    background-color: #fcfcfc;
    overflow: hidden;
}
.sm{
    width: 50px;
    height: 50px;
}
.md{
    width: 100px;
    height: 100px;
}
.lg{
    width: 184px;
    height: 184px;
}
.preview{
    margin-top: 10px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #eee;
    background-color: #fff;
}
.preview:hover{
    border-color: #ccf;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
}
.preview-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*头像*/
.avatar-li{
    width: 45px;
    cursor: pointer;
    margin-right: 20px;
}
.img-thumbnail{
    /*头像边框*/
    !important;padding: 1px;
}
.avatar-container{
    z-index: 2;
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
    background-size: cover;
    border-radius: 50%;
}
.avatar-hover{
    transform: translate(2px,20px);
}
/*二级菜单*/
.menu{
    cursor: default;
    border: 1px solid #ebeef5;
    z-index: 100;
    top: 34px;
    position: absolute;
    background: #fff;
    min-width: 150px;
    border-radius: 4px;
    padding: 12px;
    color: #606266;
}
.avatar-menu{
    display: none;
    width: 280px;
    top: 24px;
    left: -124px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 3px 6px ;
}

.avatar-menu-img{
    cursor: pointer;
    position: absolute;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    top: -34px;
    left: calc(50% - 34px);
    z-index: 10000;
}
.avatar-menu-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.avatar-menu-content{
    width: 100%;
    height: 100%;
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.avatar-menu-content p{
    color: rgb(251, 114, 153);
    font-weight: 600;
    text-align: center;
    font-size: 16px;
}
.avatar-menu-content span{
    width: 55px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #FB7299;
    color: #FFFFFF;
    font-size: 12px;
    border-radius: 2px;
}
.avatar-container .links{
    width: 100%;
    border-bottom: 1px solid #f4f4f4;
    padding: 7px 0;
}
.links .link-item{
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    transition: .3s ease;
    padding: 8px 23px;
}
.links .link-item:hover{
    background-color: #e5e5e5;
}
.links .link-title{
    font-size: 14px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.links .link-title svg{
    margin-right: 5px;
}

/*等级信息*/
.level{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}
.level span{
    background-color: transparent;
    color: #000000;
}
.level-bar{
    cursor: pointer;
    width: 240px;
    height: 2px;
    background-color: #f4f4f4;
    position: relative;
    margin: 4px 0;
}
.level-progress{
    position: absolute;
    background: #f3cb85;
    border-radius: 2px;
    width: 80%;
    height: 2px;
    top: 0;
    left: 0;
}

/*退出*/
.cancel{
    position: relative;
}
#cancel{
    cursor: pointer;
    position: relative;
    color: #fff;
    font-size: 14px;
    display: block;
    width: 100px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #FB7299;
    border-radius: 2px;
    margin-left: 14px;
    padding: 0;!important;
}
.cancel-menu{
    position: absolute;
    width: 200px;
    display: none;
    top: 58px;
    right: -15px;
    filter: drop-shadow(0 0 5px #ccc);
}
.cancel-menu:after{
    content: "";
    position: absolute;
    left: 75%;
    top: -8px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    transform: rotate(45deg);
}